package com.hksj.aqm.mapper;

import com.hksj.aqm.query.Pm25Query;
import com.hksj.aqm.query.PropertyAvgQuery;
import com.hksj.aqm.vo.DayPropertyAvgVO;
import com.hksj.aqm.vo.PropertyAvgVO;
import com.hksj.base.vo.DeviceVO;
import com.hksj.common.config.annotation.DS_TAOS;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Pm25Mapper {
    List<DeviceVO> listDevice(@Param("query") Pm25Query query);

    @DS_TAOS
    List<PropertyAvgVO> listPropertyAvg(@Param("query") PropertyAvgQuery query);

    @DS_TAOS
    List<DayPropertyAvgVO> listDayPropertyAvg(@Param("query") PropertyAvgQuery query);
}
